package com.chenchao.designer.methodfactory;

/**
 * @encoding : UTF-8
 * @Time : 2020/11/14 13:03
 * @Author : Chen Chao
 * @File : javaSE.com.chenchao.javadesigner.methodfactory.Test3.java
 * @Software : IntelliJ IDEA
 * @since : 1.8
 */
public class Test {
 public static void main(String[] args) {
        PearFactoryImpl pearFactory = new PearFactoryImpl();
        pearFactory.createFuite().show();
        AppleFactoryImpl appleFactory = new AppleFactoryImpl();
        appleFactory.createFuite().show();
    }
}
